Skip to content

bpo-34334: Don't log traceback twice in QueueHandler#9537

Merged
vsajip merged 2 commits into
python:masterfrom
csabella:bpo34334
Sep 25, 2018
Merged

bpo-34334: Don't log traceback twice in QueueHandler#9537
vsajip merged 2 commits into
python:masterfrom
csabella:bpo34334

Conversation

@csabella

@csabella csabella commented Sep 24, 2018

Copy link
Copy Markdown
Contributor

In QueueHandler in logging, the traceback (exc_info and exc_text) was being appended to the message twice after bpo-31084. This clears LogRecord.exc_text in the QueueHandler to keep it in sync with exc_info.

https://bugs.python.org/issue34334

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @csabella for the PR, and @vsajip for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-9581 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 25, 2018
(cherry picked from commit d345bb4)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@csabella

Copy link
Copy Markdown
Contributor Author

@vsajip Thanks! I think that was the quickest merge I've ever gotten. :-)

@csabella csabella deleted the bpo34334 branch September 25, 2018 23:30
ned-deily pushed a commit that referenced this pull request Oct 7, 2018
(cherry picked from commit d345bb4)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants